package com.example.sjh_web.weather.network

import com.example.sjh_web.sjh_SunnyWeatherApplication
import com.example.sjh_web.weather.model.sjh_PlaceResponse
import retrofit2.Call
import retrofit2.http.GET
import retrofit2.http.Query

interface sjh_PlaceService {

    @GET("v2/place?token=${sjh_SunnyWeatherApplication.TOKEN}&lang=zh_CN")
    fun searchPlaces(@Query("query") query: String): Call<sjh_PlaceResponse>

}